package cn.com.huaxun;

import cn.hutool.core.util.StrUtil;
import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.kafka.annotation.EnableKafka;

/**
 * 
 * @ClassName:  DubboProviderApplication   
 * @Description:启动类 
 * @author: niugang
 * @date:   2018年8月17日 下午7:52:56   
 * @Copyright: 863263957@qq.com. All rights reserved. 
 *
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@MapperScan(basePackages = {"cn.com.huaxun.module.*.dao"})
@EnableDubbo
@EnableKafka
public class DubboProviderApplication {

	public static void main(String[] args) {
		SpringApplication.run(DubboProviderApplication.class, args);
	}

}
